<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!-- behavior :滚动方式   direction：滚动方向  -->
<marquee>
<p>我是默认的滚动
  <img src="../img/img_1.png" alt=""/>
</p>
</marquee>

<marquee direction="up"  style="color: gray" scrolldelay="1000">
  <p>我是向上的
    <img src="../img/img_1.png" alt=""/>
  </p>
</marquee>

<marquee style="border: solid" bgcolor="pink" height="200px" width="200px" behavior="alternate" direction="down">

  <marquee behavior="alternate">
    <p>自定义</p>
  </marquee>

</marquee>


</body>
</html>